home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SPX30.ZIP / DEMO10.ZIP / DEMO10B.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1994-06-14  |  475 b   |  24 lines

  1. Program Demo10b;
  2.  
  3. { SPX library - FLC demo Copyright 1994 Scott D. Ramsay  }
  4.  
  5. Uses spx_vga,spx_flc,spx_key;
  6.  
  7. var
  8.   flc    : flc_type;
  9.   RetVal : integer;
  10. begin
  11.   openmode(1);
  12.   flc_open('gunhero.cel',flc);
  13.   RetVal := flc_frame(flc);
  14.   while (RetVal=FLC_NOERROR) or (RetVal=FLC_FINISHLOOP) do
  15.     begin
  16.       { do a frame delay here }
  17.       RetVal := flc_frame(flc);
  18.       if KeyPressed
  19.         then break;
  20.     end;
  21.   flc_close(flc);
  22.   closemode;
  23. end.
  24.